body{
    margin: 0;
}
*{
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: inherit;
    font-size: inherit;
}
p{
    margin: 0;
    padding: 0;
}
ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.container{
    width: 1225px;
    margin: 0 auto;
}

/*  导航栏  */
nav{
    height: 40px;
    background-color: #333333;
    color: #b0b0b0;
    font-size: 12px;
}
nav .content{
    display: flex;
    justify-content: space-between;
}
.nav-left,
.nav-right{
    display: flex;
    line-height: 40px;
    
}
.nav-left>span,
.nav-right>span{
    color: #666;
    padding:0 6px;
}
.nav-right .tongzhi{
    padding-left: 5px;
    padding-right: 25px;
}
.nav-right .shop{
    padding: 0 20px;
    position: relative;
    background-color: #424242;
}
.nav-right .shop i{
    margin-right: 4px;
    font-size: 20px;
    line-height: 20px;
    vertical-align: -4px;

}

/*  导航栏的购物  */
.nav-right .shop .shopping{
    width: 316px;
    height: 98px;
    position: absolute;
    right: 0;
    box-shadow: 0 0 2px lightgray;
    color: black;
    text-align: center;
    line-height: 98px;
     display: none; 
    background-color: white;
    z-index: 10;
}
.nav-right .shop .shopping .cover{
       width: 117px;
       height: 3px;
       background-color: white;
       position: absolute;
       right: 0;
       top: -2px;
}

nav a:hover{
     color: white; 
}
nav .nav-right .shop:hover a{
     color: #FF6700;     
}
nav .nav-right .shop:hover{
     background-color: white;
 }


 /*  header  */

header{
    height: 100px;   
}

header .mi a{
     background-image: url(xiaomi/logo.png);
     width: 57px;
     height: 57px;
     float: left;
     margin-top: 20px;
 }
header .header-middle{
    display: flex; 
    float: left; 
    margin-left: 175px;
    margin-top: 40px;
}
header .header-middle>li{
    padding: 0 10px;
}
header .kuang{
    float: right;
    line-height: 100px;
    position: relative;
    /* top: -230px; */
}
header .kuang input{
    width: 243px;
    height: 48px;  
    border: 1px solid lightgray; 
    border-right: none; 
    padding: 0 10px;
     /* outline: none; */
}
header .kuang .wenzi{
    position: absolute;
    left: 0;
    top:0; 
    font-size: 12px;
    margin-left: 50px;
    height: 15px;
}
header .kuang .wenzi>a{
    padding: 2px 5px;
    background-color: #EEEEEE;
    color: #757575; 
}
header .search{
    float: right;
    width: 52px;
    height: 48px;
    line-height: 42px;
    text-align: center;
    border: 1px solid lightgray;
    margin-top: 27px;
    color: #616165;
    font-size: 20px;
}
/*  hover  */
header .header-middle>li>a:hover{
    color: #FF6700;
}
header .kuang .wenzi>a:hover{
     background-color: #FF6700; 
    color: white;
}
header .search:hover{
    color: white;
     background-color: #FF6700; 
    border-color: #FF6700;
}
header .kuang:hover input{
    border-color: #666;
} 
header .kuang:hover .search{
    border-color: #666;
}

/*  header 隐藏部分  input */
header .kuang .hidden{
    position: absolute;
    left: 0;
    height: 334px;
    top: 75px;
    font-size: 12px;
    border: 1px solid #FF6700;
    border-top: none;
    display: none;
    background-color: white;
    z-index: 10;
}
header .kuang .hidden>li{  
      padding-left: 15px;  
      padding-right: 15px;  
     width: 242px;
     height: 30px; 
      line-height: 30px; 
     display: flex;  
     justify-content: space-between;
     color: rgb(66, 66, 66);
}
header .kuang .hidden> span{
    display: inline-block;
    /* padd-top: -10px; */
}
header .kuang .hidden>li:hover{
     background-color: rgba(0, 0, 0, 0.1)
}
header .kuang .hidden>li a:last-child{
    color: #b0b0b0;
}


/*  header 隐藏部分  */

section{
    position: relative;
}
  header .header-middle>li{
    height: 66px; 

}
header .hide{
    width: 1920px;
    height: 230px;
    position: absolute;
    left: 0;
    border: 1px solid lightgray;
    top:100px;
}
header .hide .show{
     width: 1226px; 
    height: 230px;
     margin: 0 auto;     
}
header .hide .show .header-img{
    display: flex;
}
header .hide .show>li{
    position: absolute;
}
header .hide .show .header-img>li{
     width: 204px;
    height: 201px;
    text-align: center;  
    margin-left: 0;
}
header .hide .show .header-img>li>a{
     display: inline-block;
    height: 110px;
    line-height: 110px;
    margin-top: 10px;
    border-right: 1px solid lightgray; 
}
header .hide .show .header-img>li>p{
     width: 66px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border: 1px solid #FF6700;
    color: #FF6700;
    margin-left: 60px;
    font-size: 12px; 
}
 header .hide .show .header-img>li .no{ 
      border: none;  
}
header .hide .show .header-img>li:last-child a{
      border: none;  
}
header .hide .show img{
     width: 160px;
    height: 110px;
    margin-right: 15px;   

}
header .hide .show .text{
      width: 180px;
     height: 60px; 
     text-align: center; 
     margin-top: 15px;
     font-size: 12px; 

}
header .hide .show .text .color{
     color: #FF6700; 
}


header .hide{
     display: none; 
     background-color: white;
     z-index: 10;
}
header .hide .show>li
{
      display: none;  
}
header .hide .show  .move{
      display: block;    
} 

/*  轮播图  */
.box{
    width: 1226px;
    height: 460px;
    position: relative;
}
.box .img>li{
    position: absolute;
    display: none;
}
.box .img .img-first{
    display: block;
} 

.box .circle{
    display: flex;
    position: absolute;
    right: 30px;
    bottom: 20px;
}
.box .circle>li{
    width: 10px;
    height: 10px;
    border: 2px solid #B6B6B6;
    border-radius: 50px;
    background: #777;
    margin: 0 3px;
}
.box .circle .white{
    border-color: #666;
    background-color: white;
}
.box .circle>li:hover{
    border-color: #666;
    background-color: white;
    cursor: pointer;
}

.box .click a{
    position: absolute;
    top: calc(50% - 35px);
    width: 40px;
    height: 70px;
    display: inline-block;
}
.box .click .prev{    
     left: 235px;   
     background: url(xiaomi/slides.png) -83px 0 no-repeat;    
}
.box .click .next{    
     right: 0;   
     background: url(xiaomi/slides.png) -125px 0 no-repeat;    
}
.box .click .prev:hover{
    background: url(xiaomi/slides.png) 0 0 no-repeat; 
}
.box .click .next:hover{
    background: url(xiaomi/slides.png) -42px 0 no-repeat;
}
/* 轮播图 侧边栏 */
.box .side{
    position: absolute;
    left: 0;
    top: 0;
    width: 235px;
    height: 460px;
    background-color: rgba(0, 0, 0, 0.6);
}
.box .side>li{
    width: 100%;
    height: 42px;
    line-height: 42px;
    padding-left: 30px;
    padding-right: 20px;
}
.box .side>li:first-child{
    margin-top: 20px;
}
.box .side>li:hover{
     background-color: #FF6700; 
}
.box .side>li>a{
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: white;
}
.box .side>li>a .jiantou{
    font-size: 18px;
    vertical-align: middle;
    font-weight: bold;
}

/*  侧边栏隐藏  */
.box .current{
    position: absolute;
    top: 0;
    left: 234px;
    height: 463px;
    font-size: 14px;
}
.box .current>ul{
     height: 460px;
     display: flex; 
     flex-wrap: wrap;  
     box-shadow: 1px 1px 4px lightgray; 
     display: none;
}

.box .current>ul>li{
   width: 250px;
   height: 76.5px;
   line-height: 76px;
   display: flex;
   justify-content: space-between;
   background-color: white;
}
.box .current>ul>li>a{
    display: inline-block;
    padding-left: 20px;
}
.box .current>ul>li>a:hover{
    color: #FF6700;
}
.box .current>ul>li>a img{
    vertical-align: middle;
    padding-right: 10px;
}
.box .current li p{
    display: inline-block;
    width: 60px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border: 1px solid #FF6700;
    color: #FF6700;
    margin-right: 5px;
}
.box .current li p:hover{
     background-color: #FF6700; 
    color: white;
}
/*  每个隐藏的侧边栏宽度  */
.box .current .first{  
       max-width: 750px;       
}
.box .current .second{
      max-width: 500px;   
}
 .box .current .third{ 
       width: 1000px;     
}
.box .current .forth{
       width: 250px;
}


/*  轮播图下面  */
.card{
   margin-top: 20px;
   display: flex;
}
.card img{
      width: 316px;
      height: 170px;
}
.card>span{
      margin-left: 12px;

}
.card ul{
        width: 234px;
        height: 170px;
        /* display: inline-block;  */
        margin-right: 2px;
        display: flex;
        flex-wrap: wrap;
        background-color: #5F5750;
}
.card ul li{
    width: 76px;
    height: 78px;
    text-align: center;
    padding-top: 10px;
    margin-top: 10px;
    margin-left: 1px;
    font-size: 12px;
    color: #CFCDCB;
    border-left: 1px solid #665E57;
    border-bottom: 1px solid #665E57;
}
.card ul li:first-child,
.card ul li:nth-child(4){
    border-left: none;
}
.card ul .bottom{
    margin-top: 0;
    border-bottom: none;
}
.card ul li p{
    font-size: 12px;
    padding-top: 5px;
}
.card ul li i{
    font-size: 25px;
}
.card ul li a{
    display: inline-block;
    width: 100%;
    height: 100%;
}
.card ul li a:hover{
    color: white;
}

/* 点击按钮左右移动图片 */
.con-middle{
    display: flex;
    justify-content: space-between;
    color: #333333;
    font-size: 23px;
    margin-top: 30px;
}
.con-middle .btn-click span{
  width: 36px;
  height: 24px;
  display: inline-block;
  margin-top: 10px;
  border: 1px solid lightgray;
  font-weight: bold;
  text-align: center;
  line-height: 24px;
  color: lightgray;
  font-size: 20px;
}

.con-middle .btn-click .btn-prev{
    border-right: none;
}
.con-middle .btn-click .add{
    color: #B0B2B7;
}

/*  滑动图片  */
.tu{
    position: relative;
    margin-top: 10px;
    height: 340px;
     overflow: hidden;
}
.photo{
    position: absolute;   
    left: 0;
    display: flex;
    transition: all 0.5s;
   
}
.photo .photo-left{
    display: flex;
  
}
.photo li{
    width: 234px;
    height: 340px;
    background-color: #FAFAFA;
    /* border: 1px solid; */
    text-align: center;
    font-size: 14px;
    margin-left: 13px;
}
.photo li:first-child{
    margin-left: 0;
}
.photo-left img{
    width: 160px;
    height: 160px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.photo li .text p{
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #B0B0B0;
}
.photo li .text span{
    color: #FF6709;
}
 .orange{
    border-top: 1px solid #FFAC13; 
}
 .green{
    border-top: 1px solid #83C44E; 
}
.blue{
    border-top: 1px solid #2196F3; 
}
.red{
    border-top: 1px solid #E53935; 
}
.green2{
    border-top: 1px solid #00C0A5; 
}

/*  main  */
main{
    background-color: #F5F5F5;
    height: 5350px;
    margin-top: 40px;
    padding-top: 50px;
}
main .aijing{
    margin-top: 30px;
}
main .content{
    display: flex;
    justify-content: space-between;
    color: #333333;
}
main .content>li:first-child{
    font-size: 22px;   
}
main .content>li>a{
    margin: 0 15px;
     border-top: transparent; 
     border-bottom: 3px solid transparent; 
}
main .content>li .orange1{
    color: #FF6700;
    border-color: #FF6700;
}

main .imgs{
    display: flex;
    margin-top: 20px;
}
main .imgs-left>a{
    width: 234px;
    height: 614px;
    display: inline-block;
}
main .imgs-right{
    display: flex;
    flex-wrap: wrap;
    display: none;
    position: relative;
}
main .imgs-right>li{
    position: relative;
    width: 234px;
    height: 300px;
    text-align: center;
    background-color: white;
    font-size: 14px;
    margin-left: 13px;
    overflow: hidden; 
}

/*  覆盖层  */
main .imgs-right>li .tire{
    position: absolute;
    width: 234px;
    height: 76px;
     background-color: #FF6700; 
    color: white;
    bottom: -76px;
}
main .imgs-right>li .tire p{
    font-size: 12px;
    margin: 10px 30px;
    text-align: left;
}
main .imgs-right>li .tire p:last-child{
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
}


main .imgs-right>li .new{
    width: 64px;
    height: 20px;
    margin-left: 85px;
    color: white;
}
main .imgs-right>li .a{
    background-color: #83C44E;
}
main .imgs-right>li .red{
    background-color: red;
}
main .imgs-right>li>a>img{
    width: 150px;
    height: 150px;
    margin-top: 15px;
}
main .imgs-right>li>.text{
    margin-top: 15px;
}
main .imgs-right>li>.text>p{
    font-size: 12px;
    color: rgb(176, 176, 176);
    margin-bottom: 10px;
}
main .imgs-right>li>.text>span{
    color:rgb(255, 103, 0);
}
main .imgs-right>li>.text>span>s{
    color:rgb(176, 176, 176);
    margin-left: 3px;
}

main .imgs-right .top{
    display: flex;
    width: 234px;
    height: 143px;
    background-color: white;
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 20px;
    justify-content: space-between;
    position: absolute;
    right: 0;
    bottom: 165px;
}
main .imgs-right .top span{
      margin-top: 15px;
      text-align: left;
}
main .imgs-right .top span>p{
      margin-top: 10px;  
      color: #FF6700;
}
main .imgs-right .top img{
    width: 80px;
    height: 80px;  
}

main .imgs-right .bottom{
    margin-top: 15px;
    padding-right: 30px;
    bottom: 8px;
    right: 0;
}
main .imgs-right .bottom span a{
    font-size: 18px;
}
main .imgs-right .bottom span p{
    font-size: 12px;
    color: #757575;
    margin-top: 0px;
}
main .imgs-right .bottom i{
    font-size: 50px;
    margin-top: 10px;
    color: #FF6700;
}
main .imgs .m{
    display: block;
    display: flex;
}

/*  为你推荐  */
.con-middle .btn-click-bottom span{
  width: 36px;  
  height: 24px;
  display: inline-block;
  margin-top: 10px;
  border: 1px solid lightgray;
  font-weight: bold;
  text-align: center;
  line-height: 24px;
  color: lightgray;
  font-size: 20px;
}
.con-middle .btn-click-bottom span:hover{
    cursor: pointer;   
}
.con-middle .btn-click-bottom .prev-bottom{
    border-right: none;
}
.con-middle .btn-click-bottom .add{
    color: #B0B2B7;
}

/*  滑动图片  */
.tup{
    position: relative;
    margin-top: 10px;
    height: 340px;
    width: 1225px;
    margin: 10px auto;
    overflow: hidden;   
}
.tup .photos{
    position: absolute;   
     left: 0; 
    display: flex; 
    transition: all 0.3s;   
}
.photos .photos-right{
    display: flex; 
}
.photos li{
    width: 234px;
    height: 340px;
    background-color: #FAFAFA;
    text-align: center;
    font-size: 14px;
    margin-left: 13px;
}
.photos li:hover{
    transform: translateY(-3px);
    box-shadow: 10px 20px 10px lightgray;
}
.photos li:first-child{
    margin-left: 0;
}
.photos-right img{
    width: 160px;
    height: 160px;
    margin-top: 40px;
    margin-bottom: 20px;
}
.photos li .text p{
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #B0B0B0;
}
.photos li .text span{
    color: #FF6709;
}


/*  热评产品  */
.flex{
       display: flex;   
        justify-content: space-between;  
}
.hott>p{
    font-size: 22px;
    margin-top: 30px;
    color: #333333;
}
.reping{
     display: flex;
    margin-top: 10px;
    justify-content: space-between; 

}

.reping>li{
    position: relative;
    width: 296px;
    height: 415px;
    font-size: 14px;
    background-color: white;
    text-align: center;
    overflow: hidden;
}
.reping>li .cover{
    position: absolute;
    bottom: 60px;
    left: 0;
 
    display: flex;
    transition: all 0.3s;
}
.reping>li>p{
    font-size: 16px;
    color: orange;
    margin-top: 45px;
}
.reping>li>a>img{
    width: 296px;
    height: 220px;
}
.reping>li .text{
    padding: 20px;
    line-height: 25px;
    text-align: left;
}
.reping>li .text>p{
    margin-top: 40px;
    color: #B0B0B0;
    font-size: 12px;
}
.reping>li .text>span{
    color: #B0B0B0;
}
.reping>li .text .money{
     color: #FF6700; 
}
.reping>li .current{
    
    width: 296px;
    height: 270px;
    
}
.reping>li .yuan{
    position: absolute;
    left: 105px;
    bottom: 30px;
    display: flex;
    justify-content: center;
}
.reping>li .yuan>li{
    width: 8px;
    height: 8px;
    background-color: #B0B0B0;
    border-radius: 50px;
    margin: 0 10px;
    transition: all 0.5s;
}
.reping>li .yuan>li:hover{
     background-color: orangered; 
    cursor: pointer;
}
.reping>li .yuan .yuanquan:hover{
    background-color: white;
    cursor: auto;
}
.reping>li .enter>span{
    position: absolute;
    top: calc(50% - 24px);
    width: 20px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 20px;
    background-color: rgba(66, 66, 66, 0.2);
    color: rgb(250, 250, 250);
    font-weight: bold;
    opacity: 0;
    transition: all 0.8s;
}
.here:hover .enter>span{
    opacity: 1;
}
.reping>li .enter>span:hover{
    background-color: rgba(0, 0, 0, 0.5);
}
.reping>li .enter .wcf{
    left: 0;
}
.reping>li .enter .cyw{
    right: 0;
}
.reping>li .app{
    display: block;
}
.reping>li .yuan .yuanquan{
    border: 2px solid orangered;
    background-color: white;
    width: 10px;
    height: 10px;
}

.reping>li .current>span{
    font-size: 20px;
    color: #333333;
}
.reping>li .current>p{
    width: 200px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 20px;
    margin-top: 5px;
    color: rgb(176, 176, 176);
}
.reping>li .current .money{
    font-size: 14px;
    color: #333333;
    margin-bottom: 15px;
    margin-top: 10px;
}

/*  视频  */
.con-middle .all>span{
    font-size: 16px;
}
.con-middle .all>i{
    color: #B0B0B0;
    vertical-align: -3px;
    transition: all 0.5s;
}
.con-middle .all{
    transition: all 0.5s;
}
.con-middle .all:hover{
    color: orangered;
}
.con-middle .all:hover i{
    color: orangered;
}

/*  视频  */
.shipin{
    display: flex;
    justify-content: space-between;
}
.mv{
    margin-top: 20px;

}
.mv>li{
    width: 296px;
    height: 285px;
    /* border: 1px solid; */
    text-align: center;
    background-color: white;
}
.mv>li>a .play{
    width: 36px;
    height: 24px;
    line-height: 15px;
    border: 2px solid white;
    border-radius: 15px;
    background-color: #545658;
    margin-top: 145px;
    margin-left: 20px;
    transition: all 0.3s;
}
.mv>li>a:hover .play{
    border-color: #FF6A1A;
     background-color: #FF6A1A; 
}
.mv>li>a .play i{
    font-size: 12px;
    color: white;
}
.mv>li:hover{
    transform: translateY(-2px);
    box-shadow: 10px 10px 20px lightgray;
}
.mv>li>a{
    background:url(xiaomi/shipin.jpg) no-repeat;
    display: inline-block;
    width: 296px;
    height: 180px;
}
.mv>li>p{
    margin-top: 25px;
    font-size: 14px;
    color: rgb(51, 51, 51);
}
.mv>li>p:hover{
   color: #FF6A1A;
   cursor: pointer;
}
.mv>li>span{
    color: rgb(176, 176, 176);
    font-size: 12px;
}

/*  footer  */
footer{
     height: 252px;   
}
.server{
    display: flex;
    margin: 25px 0;
}
.server>li{
    width: 20%;
    text-align: center;
    font-size: 16px;
    color: #616161;
    border-right: 1px solid #E0E0E0;
}
.server>li:last-child{
    border-right: none;
}
.server>li i{
    font-size: 25px;
    vertical-align: middle;
}
hr{
    color: #E0E0E0;
}
footer .center{
    display: flex;
    margin-top: 40px;
}
footer .center>ul{
    width: 160px;
    height: 112px;
}
footer .center>ul>li{
    font-size: 12px;
    color: #757575;
    margin-top: 10px;
}
footer .center>ul>li:nth-child(2){
    margin-top: 25px
}
footer .center>ul .first{
    color: rgb(66, 66, 66);
    font-size: 14px;
    margin-top: 0;
}
footer .footer-right{
    width: 252px;
    height: 112px;
    padding: 0 55px;
     text-align: center; 
}
footer .footer-right>span{
     font-size: 22px;
     color: #FF6A1A;
 }
footer .footer-right>p{
     font-size: 12px;
     color: rgb(97, 97, 97);
 
 }
footer .footer-right .inner{
    width: 120px;
    height: 30px;
    margin: 0 auto;
    border: 1px solid;
    line-height: 30px;
    text-align: center;
    font-size: 12px;
    color: #FF6A1A;
    margin-top: 10px;
    transition: all 0.3s;
 }
footer .footer-right .inner:hover{
    cursor: pointer;
    color: white;
    background-color: #FF6A1A;
}
footer a:hover{
    color: #FF6A1A;
}

/*  foot  */
.foot{
    background-color: #F5F5F5;
    padding-top: 30px;
    height: 166px;
}
.foot .end{
    display: flex;
    font-size: 12px;
}
.foot .end .mi{
    background: url(xiaomi/logo.png) no-repeat;
    width: 57px;
    height: 57px;
    margin-right: 10px;
}
.foot .end .first{
    padding-top: 2px;
}
.foot .end .first>a{
    color: rgb(117, 117, 117);
}
.foot .end .first>span{
    color: rgb(176, 176, 176);
    margin-left: 5px;
} 
.foot .end li{
     color: rgb(176, 176, 176);  
}
.end .right{
     margin-left: 55px; 
}
.end>div img{
    width: 85px;
    height: 28px;
} 
.end a:hover{
    color: #FF6B00;
}
.end .first a:hover{
    color: #FF6B00;
}
